﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SchemaMonitor;

public partial class usercontrols_UCTag : System.Web.UI.UserControl
{
    public void Display(CTag t)
    {
		var name = t.FieldType.NameShort;
		if (t.TagIsList)
			name = name + "[]"; //string.Concat("list&lt;", name, "&gt;");

		lblTag.Text = string.Concat("<b>", t.TagName, "</b> (", name, ")");
      //lblTag.Text = string.Concat(t.TagName, " <sup>(", t.FieldType.NameShort, ")</sup>");
        lblTag.ToolTip = t.Path;
    }
}